<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>轮播图管理</title>
    <link rel="stylesheet" href="/css/pintuer.css">
    <script src="/lib/jquery/jquery.min.js"></script>
    <script src="/js/pintuer.js"></script>
</head>
<body>
<div class="panel">
    <div class="panel-head">
        用户详情</div>
    <div class="panel-body">
        <form method="post" class="form-x">
            <div class="form-group">
                <div class="label">
                    <label >
                        用户名:</label>
                </div>
                <div class="field">
                    <span style="line-height: 40px">{$users['username']}</span>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>
                        昵&nbsp;&nbsp;&nbsp;称:</label>
                </div>
                <div class="field">
                    <span style="line-height: 40px">{$users['name']}</span>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>
                        手机号:</label>
                </div>
                <div class="field">
                    <span style="line-height: 40px">{$users['iphone']}</span>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>
                        状&nbsp;&nbsp;&nbsp;态:</label>
                </div>
                <div class="field">
                    {if condition="$users.is_use eq 0"}
                    <span style="line-height: 40px;color:green;" >可用</span>
                    {else /}
                    <span style="line-height: 40px; color:#e92300;">禁用</span>
                    {/if}
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>
                        备&nbsp;&nbsp;&nbsp;注:</label>
                </div>
                <div class="field">
                    <span style="line-height: 40px">{$users['remarks']}</span>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>
                        创建时间:</label>
                </div>
                <div class="field">
                   <span style="line-height: 40px">{$users['create_time']}</span>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>
                        用户地址:</label>
                </div>
                {if condition="count($userAddrs) > 1"}
                <div class="field">
                    {foreach $userAddrs as $addr}
                    <span style="line-height: 40px">{$addr['id']}、{$addr['area']}&nbsp;{$addr['city']}&nbsp;{$addr['domain']}&nbsp;{$addr['addr']}</span><br>
                    {/foreach}
                </div>
                {else /}
                <div class="field">
                    <span style="line-height: 40px">暂无添加地址</span><br>
                </div>
                {/if}
            </div>
        </form>
    </div>
</div>
</body>
</html>